package com.konke.smartpad_huahao.UI.model;

public class RoomScene {
    private int id;
    private String name;
    private String enname;
    private boolean isShow;

    public RoomScene() {
    }

    public RoomScene(int id) {
        this.id = id;
    }

    public RoomScene(int id, String name, String enname) {
        this.id = id;
        this.name = name;
        this.enname = enname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean show) {
        isShow = show;
    }

    @Override
    public boolean equals( Object obj) {
        if (obj instanceof RoomScene) {
            if (this.getId() == ((RoomScene) obj).getId()) {
                return true;
            }
        }
        return super.equals(obj);
    }
}
